using System;

namespace HDLogCenter.Infrastructure.Models
{
    public class LogSearchViewModel
    {
        public string ProjectName { get; set; }
        public string LogLevel { get; set; }
        public string Message { get; set; }
        public string Source { get; set; }
        public string UserName { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public int Page { get; set; } = 1;
        public int PageSize { get; set; } = 50;
        public string SortBy { get; set; } = "Timestamp";
        public bool SortDescending { get; set; } = true;
    }
}
